<?php
session_start();
if($_SESSION['user']=="")
{
  header("Location: login.php");
  return;
}
$module="home";
if($_REQUEST['module']!="")
{
  $module=$_REQUEST['module'];
}
include "header.php";
include "modules/".$module.".php";
include "footer.php";

?>